import gcRequest from "../utils/request"

export const getFoods = () => {
  return gcRequest.get('/food')
}

export const searchFoods = (word: string) => {
  return gcRequest.get('/food/search', {
    word
  })
}